﻿
using InstaSharp.Models;

namespace BlogsAPI.Sites.FoursquareSharp
{
    public class Response<T>
    {
        [JsonMapping("meta", JsonMapping.MappingType.Class)]
        public Meta Meta { get; set; }

        [JsonMapping("response", JsonMapping.MappingType.Class)]
        public ResponseList<T> Data { get; set; }
    }

    public class ResponseList<T>
    {
        [JsonMapping("venues", JsonMapping.MappingType.Collection)]
        public T Venues { get; set; }

    }
}